package com.animal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author animal
 * @since 2022-01-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="AnInvitation对象", description="")
public class AnInvitation implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "帖子id")
    @TableId(value = "in_id", type = IdType.AUTO)
    private Integer inId;

    @ApiModelProperty(value = "发帖人id")
    private int userId;

    @ApiModelProperty(value = "发帖传入的照片")
    private String picture;

    @ApiModelProperty(value = "帖子内容")
    private String content;

    @ApiModelProperty(value = "帖子类型 1 交流贴 2 求助帖")
    private Integer type;

    @ApiModelProperty(value = "创建时间")
    private Date inCreatTime;

    @ApiModelProperty(value = "修改时间")
    private Date inUpdTime;

    @ApiModelProperty(value = "求助帖动物种类 1 捐赠类型 2 求助类型")
    private Integer inAnState;

    @ApiModelProperty(value = "捐赠总金额")
    private Float anPrice;

    @ApiModelProperty(value = "领养原因")
    private String anCause;

    @ApiModelProperty(value = "求助动物id")
    private Integer anId;

    @TableField(exist = false)
    private AnUser anUser;

    @TableField(exist = false)
    private AnAnimal animal;

    private String anTitle;


}
